package org.jeecg.eqp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.eqp.entity.EqpSpchkheadValue;
import org.jeecg.common.api.vo.Result;
import org.jeecg.eqp.vo.EqpMaintainDetailVO;
import org.jeecg.eqp.vo.EqpMaintainVO;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 点检记录表
 * @Author: licy
 * @Date: 2022-10-13
 * @Version: V1.0
 */
public interface IEqpSpchkheadValueService extends IService<EqpSpchkheadValue> {

    /**
     * 删除一对多
     *
     * @param id
     */
    public void delMain(String id);

    /**
     * 批量删除一对多
     *
     * @param idList
     */
    public void delBatchMain(Collection<? extends Serializable> idList);

    /**
     * 编辑方法
     *
     * @param eqpSpchkheadValue
     */
    Result<String> edit(EqpSpchkheadValue eqpSpchkheadValue);

    List<EqpMaintainVO> getMaintainList(EqpSpchkheadValue eqpSpchkheadValue);

    List<EqpMaintainDetailVO> queryEqpDetailList(EqpSpchkheadValue eqpSpchkheadValue);
}
